package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.dto.ApprovalQueryDto;
import com.group.eams.pojo.entity.Approval;
import com.group.eams.pojo.vo.ApprovalListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author DHUser
* @description 针对表【approval(审批表)】的数据库操作Mapper
* @createDate 2024-11-01 18:24:16
* @Entity com.group.eams.pojo.entity.Approval
*/
public interface ApprovalMapper extends BaseMapper<Approval> {

    /**
     * 根据查询条件查询审批信息
     * @param approvalQueryDto 查询条件
     * @return 审批信息集合
     */
    Page<ApprovalListVo> findByQueryDto(Page<ApprovalListVo> page,@Param("approvalQueryDto") ApprovalQueryDto approvalQueryDto);
}




